/* 
 ********************************************************************
 * Project:     ethernet driver for LPC23xx/24xx
 * File:    	defines.h
 *
 * System:   	ARM7TDMI-S 32 Bit
 * Compiler:  	GCC 4.0.3
 *
 * Date:      	2006-08-31
 * Author:    	Wenz
 *
 * Rights:    	Hitex Development Tools GmbH
 *            	Greschbachstr. 12
 *            	D-76229 Karlsruhe
 ********************************************************************
 * Description:
 *	
 * length specific types recommended by MISRA rule 13
 ********************************************************************
 * History:
 *
 *  Revision 1.0    2006/09/27      We
 *     Initial revision 
 ********************************************************************
 * This software is provided by the author 'AS IS' without any 
 * warranties. Hitex Development Tools GmbH shall not be held 
 * liable for any direct, indirect or consequential damages with
 * respect to any claims arising from the content of such software.
 ********************************************************************/

#if !defined _DEFINES_H
#define		_DEFINES_H


typedef  signed char    int8_t;
typedef  unsigned char  uint8_t;
typedef  signed short   int16_t;
typedef  unsigned short uint16_t;
typedef  signed long    int32_t;
typedef  unsigned long  uint32_t;

typedef  float    float16;
typedef  double   float32;

typedef int clock_time_t;

struct timer {
  clock_time_t start;
  clock_time_t interval;
};

/* #define float16   float */
/* #define float32   double */

#define REG8  (volatile uint8_t*)
#define REG16 (volatile uint16_t*)
#define REG32 (volatile uint32_t*)

typedef enum
{
	FALSE = 0x00,
	TRUE
} bool;

#endif

/************************************ EOF ***********************************/
